home *** CD-ROM | disk | FTP | other *** search
/ BOCA MegaMedia / BOCA MegaMedia.iso / drivers / install.dat < prev    next >
Text File  |  1998-03-17  |  14KB  |  503 lines

  1. /*
  2.  * Install Installation Script File
  3.  *
  4.  *
  5.  * $Archive: /Modems/400 Series/disk-oem/INSTALL.DAT $
  6.  * $Date: 12/10/97 12:42p $
  7.  * $Revision: 32 $
  8.  *
  9.  * Note that the 'C' in the version number designates a cirrus
  10.  * based modem, and that no designator means rockwell
  11.  */
  12.  
  13. @DEFINEPROJECT
  14.     @Name = "Modem Drivers and Utilities"
  15.     @Version = "5.4"
  16.     @Immediate = 1
  17.     @OutDrive = C
  18.     @SubDir = "\\MODEM"
  19. @EndProject
  20. /*=========================================================================*/
  21. @DefineVars
  22.     @Qstring @Product       = "Modem Driver & Utilities"
  23.     @Integer @TextColor = 27
  24.     @Integer @ROW = 1
  25.     @Integer @COL = 0
  26.     @Integer @COLOR5 = 31
  27.     @Dir     @WinDir = "\\WINDOWS"
  28.     @Drive @WinDrv = C
  29.     @Integer @OEM = 1
  30. @EndVars
  31.  
  32. @If (@Exists("@InDrive:Support.txt"))
  33.     @OEM = 0
  34. @endif
  35. /*=========================================================================*/
  36. @if (@OEM == 0)
  37. @display
  38. @CLS
  39. @enddisplay
  40. @MoveCStr(2+10,19,116,"┌─────────────────────────────────────┐")
  41. @MoveCStr(2+11,19,116,"│                                     │")
  42. @MoveCStr(2+12,19,116,"│                                     │")
  43. @MoveCStr(2+13,19,116,"│                                     │")
  44. @MoveCStr(2+14,19,116,"│                                     │")
  45. @MoveCStr(2+15,19,116,"│                                     │")
  46. @MoveCStr(2+16,19,116,"│     ┌──────────────────────────┐    │")
  47. @MoveCStr(2+17,19,116,"│     │ R E S E A R C H , I N C .│    │")
  48. @MoveCStr(2+18,19,116,"└─────┴──────────────────────────┴────┘")
  49. @MoveCStr(2+11,25,113,"█████  ██████ ██████ ██████")
  50. @MoveCStr(2+12,25,113,"██  █  ██  ██ ██     ██  ██")
  51. @MoveCStr(2+13,25,113,"██████ ██  ██ ██     ██████")
  52. @MoveCStr(2+14,25,113,"██   █ ██  ██ ██     ██  ██")
  53. @MoveCStr(2+15,25,113,"██████ ██████ ██████ ██  ██")
  54.  
  55.  
  56. @MoveCStr(@ROW+0,@COL+0,@COLOR5,"                            █▀█  █▀▀█ █▀▀█ █▀▀█")
  57. @MoveCStr(@ROW+1,@COL+0,@COLOR5,"                            █▀▀█ █  █ █    █▀▀█")
  58. @MoveCStr(@ROW+2,@COL+0,@COLOR5,"                            ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀  ▀")
  59. @MoveCStr(@ROW+3,@COL+0,@COLOR5,"")
  60. @MoveCStr(@ROW+4,@COL+0,@COLOR5,"                         █▀█▀█ █▀▀█ █▀▀█ █▀▀▀ █▀█▀█")
  61. @MoveCStr(@ROW+5,@COL+0,@COLOR5,"                         █ █ █ █  █ █  █ █▀   █ █ █")
  62. @MoveCStr(@ROW+6,@COL+0,@COLOR5,"                         ▀   ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀   ▀")
  63. @MoveCStr(@ROW+7,@COL+0,@COLOR5,"")
  64. @MoveCStr(@ROW+8,@COL+0,@COLOR5,"")
  65. @MoveCStr(@ROW+9,@COL+0,@COLOR5,"                         Modem Drivers and Utilities ")
  66.  
  67. @MoveCStr(21,01,31,"       Copyright(c) 1993-1997 Boca Research, Inc.    All rights reserved. ")
  68. @MoveCStr(22,01,31,"                         Press any key to continue...")
  69.  
  70. @spawn("KBHIT 90");
  71. @endif  /* OEM=0 */
  72. /*=========================================================================*/
  73.  
  74. @Display
  75.     @Cls
  76.       @Name
  77.       Release @Version
  78.  
  79.          
  80.       This program will install the @Product
  81.       on your computer and verify the integrity of the distribution
  82.       disk.  You may press the [Esc] key at any time to abort the
  83.       installation.
  84.  
  85.       Each question has a default answer. If the default answer is correct,
  86.       press the ENTER key in response to the question. Otherwise, type the
  87.       answer and then press the ENTER key.
  88.  
  89.       If you make a mistake while typing, press the BACKSPACE key and then
  90.       retype the answer.
  91.  
  92.   @Pause
  93. @EndDisplay
  94.  
  95. /*=========================================================================*/
  96. @if (((@OSMajor * 100) +@OSMinor) > 650)
  97. @GetOption
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.       Install has detected that you MAY be using Windows 95.
  109.  
  110.       Users of  Windows  95  must  exit  install  and  follow  the
  111.       instructions  in the manual. The modem you are installing is
  112.       a Plug and Play  device  and  is  installed  by  Windows  95
  113.       instead of Install.
  114.  
  115.     @Option 105 = "This computer uses Windows 95."
  116.     @Option 108 = "This computer DOES NOT USE Windows 95."
  117.     @Option 106 = "Exit Install."
  118.     @Option 107 = "Install anyway."
  119.  
  120.  
  121. @EndOption
  122. @endif
  123.  
  124. @if( 106 [= @Option)
  125. @exit
  126. @endif
  127.  
  128. /*=========================================================================*/
  129.  
  130. @if( 105 [= @Option)
  131. @Display
  132.     @Cls
  133.  
  134.  
  135.  
  136.  
  137.       Users of  Windows  95  must  exit  install  and  follow  the
  138.       instructions  in the manual. The modem you are installing is
  139.       a Plug and Play  device  and  is  installed  by  Windows  95
  140.       instead of Install.
  141.  
  142.  
  143.       Install will now exit...
  144.  
  145.   @Pause
  146. @EndDisplay
  147. @exit
  148. @endif
  149.  
  150. /*=========================================================================*/
  151. /*
  152. @if (@ISINWINDOWS != 0)
  153. @Getoption
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.       Install   has   detected  that  you  are  currently  running
  161.       Microsoft Windows.
  162.  
  163.       Install recommends that you  exit  install  now,  then  exit
  164.       Microsoft  Windows  before  running  install  from  the  DOS
  165.       prompt.
  166.  
  167.     @Option 106 = "Exit Install."
  168.     @Option 107 = "Install anyway."
  169.  
  170.  
  171. @EndOption
  172. @endif
  173. */
  174. @if( 106 [= @Option)
  175. @exit
  176. @endif
  177.  
  178.  
  179. /*=========================================================================*/
  180. @if (@PNPBIOS != 0)
  181. @GetOption         
  182.       Install  has  detected your system has what is known as Plug
  183.       and Play BIOS or you are already running  a  Plug  and  Play
  184.       Configuration Utility.
  185.  
  186.       This Modem is a Plug and Play modem that can  be  configured 
  187.       by  your  system.  We  have  provided  a utility to help you 
  188.       determine how your system has  configured  the  modem.  That 
  189.       utility is called 'Locate'.
  190.  
  191.     ┌──────────────────────────────────────────────────────────────┐
  192.     │ We recommend that you accept the settings your  system  uses │
  193.     │ and  use  the 'Locate' utility to determine how the modem is │
  194.     │ configured.                                                  │
  195.     └──────────────────────────────────────────────────────────────┘
  196.  
  197.     ADVANCED  USERS:  Optionally, advanced users can install the 
  198.     'Setmodem' utility for custom modem configuration.
  199.       @LocalWindow (21,40)
  200.     @Option 1105 = "Install the 'Locate' utility."
  201.     @Option 1106 = "Exit Install."
  202.     @Option 1107 = "Install the SETMODEM utility."
  203. @EndOption
  204. @else
  205. /*=========================================================================*/
  206.  
  207. /*=========================================================================*/
  208. @Display
  209. @Cls
  210.           Install detected a NON-Plug and Play System.
  211.  
  212.  
  213.       This  modem  is  a  Plug  and  Play device.  A configuration 
  214.       utility will be copied to your hard disk which  will  enable 
  215.       you to configure your modem's COM port and IRQ settings.
  216.  
  217.       The utility is called 'Setmodem'.
  218.  
  219.  
  220.  
  221. @Pause
  222. @EndDisplay
  223.     /* if there is NOT pnp bios then we want to set the option..
  224.        for setmodem
  225.    */
  226. @SetOption(1107)
  227. @endif
  228.  
  229.  
  230.  
  231. /*=========================================================================*/
  232. @if( 1106 [= @Option)
  233. @exit
  234. /*=========================================================================*/
  235.  
  236. @Getoption
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.     Install recommends that it copy the files to drive @BOOTDRIVE:
  247.  
  248.     @Option 500 = "Continue."
  249.     @Option 501 = "Choose Another Drive"
  250.     @Option 502 = "Exit Install."
  251.  
  252. @EndOption
  253. @if( 500 [= @Option)
  254.     @OutDrive=C
  255.     @Goto DriveDone
  256. @endif
  257.  
  258. @if( 502 [= @Option)
  259. @exit
  260. @endif
  261.  
  262.  
  263. /*=========================================================================*/
  264. /*=========================================================================*/
  265. /*=========================================================================*/
  266.  
  267.  
  268. @GetOutDrive @Outdrive
  269.     @suppress A:
  270.     @suppress B:
  271.       @Cls
  272.        On which drive do you wish to install the
  273.        @Name ?
  274. @EndOutDrive
  275.  
  276. DriveDone:
  277.  
  278. @GetSubdir
  279.     @Cls
  280.        To which directory do you want to install the programs?
  281.  
  282.  
  283.  
  284.     @PROMPT = " Which directory? "
  285.   @EndSubdir
  286. @Endif
  287.  
  288.  
  289. /*=========================================================================*/
  290.  
  291. @GetOption
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.     Install needs to know if you have Windows 3.1 , 3.11 or
  302.     Windows for Workgroups 3.11 installed on this computer.
  303.  
  304.  
  305.   @Option 200 = "This computer uses Windows 3.1, 3.11 or Windows for Workgroups 3.11"
  306.   @Option 201 = "This computer uses DOS only"
  307.   @Option 202 = "Exit Install Now"
  308.  
  309.  
  310. @Endoption
  311.  
  312. @if( 202 [= @Option)
  313.     @exit
  314. @endif
  315.  
  316.  
  317. /*=========================================================================*/
  318. @if( 200 [= @Option)
  319. @GetOutDrive @WinDrv
  320.     @suppress A
  321.     @suppress B
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.     What Drive is Windows Installed on?
  336.  
  337. @EndOutDrive
  338. @endif
  339.  
  340. @if( 200 [= @Option)
  341.  
  342. @GetSubDir @WinDir
  343.     @Cls
  344.  
  345.  
  346.  
  347.     @PROMPT = " What directory is Windows installed on Drive @WinDrv ?"
  348.  
  349. @EndSubDir
  350.  
  351. @endif
  352.  
  353. /*=========================================================================*/
  354.  
  355.  
  356. @DefineDisk
  357.     @Label = "Disk #1"
  358.     @File SETMODEM.MSG @Out SETMODEM.MSG     @Option 1107
  359.     @File SETMODEM.EXE @Out SETMODEM.EXE     @Option 1107
  360.     @File ESCD.RF @Out C:\\ESCD.RF   @NoOverwrite  @Option 1107
  361.     @File DWCFGMG.SYS @Out C:\\DWCFGMG.SYS   @NoOverwrite @Option 1107
  362.     @File LOCATE.EXE @Out LOCATE.EXE    @Option 1105
  363.  
  364. @EndDisk
  365. /*=========================================================================*//*=========================================================================*/
  366. /*=========================================================================*/
  367. /*=========================================================================*/
  368. @if( 1107 [= @Option)
  369. @Write ("@OutDrive:\\@Subdir\\setmodem.ini","wt",";Setmodem Configuration File. Do Not Modify\n")
  370. @Write (,,";Use SETMODEM to configure the modem\n")
  371. @Write (,,"[System]\n");
  372. @Write (,,"LO_LID0=18698\n");
  373. @Write (,,"HI_LID0=4\n");
  374. @Write (,,"LO_LID1=18698\n");
  375. @Write (,,"HI_LID1=20\n");
  376. @Write (,,"LO_LID2=18698\n");
  377. @Write (,,"HI_LID2=36\n");
  378. @Write (,,"LO_LID3=18698\n");
  379. @Write (,,"HI_LID3=52\n");
  380. @Write (,,"LO_LID4=18698\n");
  381. @Write (,,"HI_LID4=68\n");
  382. @Write (,,"LO_LID5=18698\n");
  383. @Write (,,"HI_LID5=84\n");
  384. @Write (,,"LO_LID6=18698\n");
  385. @Write (,,"HI_LID6=100\n");
  386. @Write (,,"LO_LID7=18698\n");
  387. @Write (,,"HI_LID7=116\n");
  388. @Write (,,"LO_LID8=18698\n");
  389. @Write (,,"HI_LID8=132\n");
  390. @Write (,,"LO_LID9=18698\n");
  391. @Write (,,"HI_LID9=148\n");
  392. @Write (,,"LO_LID10=18698\n");
  393. @Write (,,"HI_LID10=164\n");
  394. @Write (,,"LO_LID11=18698\n");
  395. @Write (,,"HI_LID11=180\n");
  396. @Write (,,"LO_LID12=18698\n");
  397. @Write (,,"HI_LID12=196\n");
  398. @Write (,,"LO_LID13=18698\n");
  399. @Write (,,"HI_LID13=212\n");
  400. @Write (,,"LO_LID14=18698\n");
  401. @Write (,,"HI_LID14=228\n");
  402. @Write (,,"LO_LID15=18698\n");
  403. @Write (,,"HI_LID15=244\n");
  404. @Write (,,"LO_LID16=18698\n");
  405. @Write (,,"HI_LID16=21\n");
  406. @Write (,,"LO_LID17=18698\n");
  407. @Write (,,"HI_LID17=53\n");
  408. @Write (,,"LO_LID18=18698\n");
  409. @Write (,,"HI_LID18=515\n");
  410. @Write (,,"LO_LID19=18698\n");
  411. @Write (,,"HI_LID19=8340\n");
  412. @Write (,,"LO_LID20=18698\n");
  413. @Write (,,"HI_LID20=8372\n");
  414. @if( 200 [= @Option)
  415. @Write (,,"WinDir=@WinDrv:\\@WinDir\n\n");
  416. @endif
  417.  
  418.  
  419. /*=========================================================================*/
  420. @SetConfig
  421.    @overwrite
  422.    @Device="C:\\DWCFGMG.SYS"
  423. @endconfig
  424. /*=========================================================================*/
  425.  
  426. @display
  427. @cls
  428.  
  429.  
  430.      @name has been installed.
  431.  
  432.      Use the @OutDrive:@Subdir\SETMODEM command to configure the modem
  433.      or view the modems configuration.
  434.  
  435.  
  436.        @pause
  437.    @enddisplay
  438. @endif
  439. /*=========================================================================*/
  440. /*=========================================================================*/
  441. /*=========================================================================*/
  442. /*=========================================================================*/
  443. @if( 1105 [= @Option)
  444.    @display
  445.    @cls
  446.  
  447.  
  448.      The 'Locate' Utility has been installed.
  449.  
  450.      Use the @OutDrive:@Subdir\locate command to view the
  451.      modems configuration.
  452.  
  453.  
  454.        @pause
  455.    @enddisplay
  456. @endif
  457. /*=========================================================================*/
  458.  
  459. @Finish
  460.  
  461.  
  462. @reboot("Your system will now reboot.",1)
  463.  
  464. @EndFinish
  465.  
  466. /*=========================================================================*/
  467.  
  468.  
  469.         SETMODEM and related utilities are
  470.         COPYRIGHT(c) 1994-1997 by
  471.         Boca Research Inc.
  472.         Boca Software Engineering Department
  473.         Boca Raton, FL 33487
  474.         Visit our website at http://www.bocaresarch.com
  475.  
  476.         Com√check is a registered of Boca Research Inc.
  477.  
  478. /*=========================================================================*/
  479. /*=========================================================================*/
  480. /*
  481.     The following statement is provided to comply with licensing
  482.     stipulations for this install utility.
  483.  
  484.       ------------------------------------------------------------------
  485.       | The installation program used to install these utilities,      |
  486.       | INSTALL, is licensed software provided by Knowledge            |
  487.       | Dynamics Corp, P.O. Box 780068, San Antonio, Texas, 78278      |
  488.       | (USA). INSTALL is copyright (c) 1987-1993 by Knowledge         |
  489.       | Dynamics Corp which reserves all copyright protection          |
  490.       | worldwide. INSTALL is provided to you for the exclusive        |
  491.       | purpose of installing these utilites. The provider of the      |
  492.       | utilities is exclusively responsible for the support of        |
  493.       | these utilities, including support during the install phase.   |
  494.       | In no event will Knowledge Dynamics Corp provide any           |
  495.       | technical support for these utilities                          |
  496.       ------------------------------------------------------------------
  497. */
  498. /*=========================================================================*/
  499.  
  500. /*=========================================================================*/
  501. /*=========================================================================*/
  502.  
  503.